home *** CD-ROM | disk | FTP | other *** search
-
- ;------ End of installer-created section
-
- assign libs: amms:libs add ; get amms libraries from this dir
- assign c: amms:c add ; add path to amms amigados commands
- assign fonts: amms:fonts add ; add path to fonts (ibm.font)
-
- resident amms:c/port
- resident amms:c/killport
- resident amms:c/sconnect
- resident amms:c/sethflags
- resident amms:c/setreturn
- resident amms:c/waitforamms
- failat 10
- endif
-
- cd amms:
- status >nil: com mbserver
- if warn
- run mbserver ; start mbserver
- waitforamms ; wait for server startup
- run >nil: mbstat ; start mbstat
-
- ;------ Automatic startup of all ports
-
- failat 100
- cd startup
- list >t:mbstartup #?.info lformat "port %m" files sort n
- execute >nil: t:mbstartup
- delete >nil: t:mbstartup
- else
- echo "*nMBSERVER is already running!"
- wait 2
- endif
-